class CreateMachines < ActiveRecord::Migration
  def self.up
    create_table :machines do |t|
      t.string :latitude
      t.string :longitude
      t.string :status
      t.string :state
      t.string :zone
      t.string :model
      t.string :brand
      t.string :version
      t.string :os
      t.string :disc
      t.string :ram
      t.string :processor
      t.string :cant_ap
      t.integer :administrator_id

      t.timestamps
    end
  end

  def self.down
    drop_table :machines
  end
end
